<%@page import="java.sql.*"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>edb - 3NFTrainer</title>
		<link type="text/css" href="../css/main.css" rel="stylesheet" />
		<link type="text/css" href="../css/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />	
		<script type="text/javascript" src="../js/jquery-1.7.1.min.js"></script>
		<script type="text/javascript" src="../js/jquery-ui-1.8.16.custom.min.js"></script>
	</head>
	<body>
	<jsp:useBean id="db" scope="session" class="nftrainer.dbconnect.DBConnector"/>
	<jsp:useBean id="login" scope="session" class="admin.Login"/>
	<%
	if (login.isLoggedIn()) {
		out.println("eingeloggt<br />");
	} else {
		out.println("nicht eingeloggt<br />");
	}
	login.login("AK", "AK");
	login.logout();
	if (login.isLoggedIn()) {
		out.println("eingeloggt<br />");
	} else {
		out.println("nicht eingeloggt<br />");
	}
	login.login("admin", "admin");
	if (login.isLoggedIn()) {
		out.println("eingeloggt<br />");
	} else {
		out.println("nicht eingeloggt<br />");
	}
	%>
	</body>
</html>